TIME=`date "+%Y.%m.%d.%H.%M"`
IMAGE_NAME=zgy-base-distribution
IMAGE_TAG=${TIME}



docker build --build-arg JAR_FILE=IC-base-distribution-server.jar -t ${IMAGE_NAME}:${IMAGE_TAG} .
docker run -dit --name zgy-base-distribution-server -p 19233:19233 ${IMAGE_NAME}:${IMAGE_TAG}

echo "${IMAGE_NAME}:${IMAGE_TAG}" > IMAGE
